package com.zhihuiyanche.common.constant;
/**
 * 业务和消息模版关联枚举
 */
public enum TemplateRelationEnum
{
	RECHARGE_COST(0,"OPENTM207664680","充值交易消息",""),
	RECHARGE_REFUNED(1,"OPENTM207664680","撤销充值交易消息",""),
	TRADE_COST(2,"OPENTM207664680","消费交易消息",""),
	TRADE_REFUNED(3,"OPENTM207664680","撤销消费交易消息",""),
	PLACE_AN_ORDER(5,"OPENTM207715345","下单成功后推送的消息","/pages/weixin/newfront/myorder.jsp"),
	COUPONS_COST1(6,"OPENTM204527697","优惠券消费消息","/pages/weixin/newfront/myCoupon.jsp"),
	MALL_COUPONS(7,"TM00001","商城劵购买成功通知","/pages/weixin/newfront/myCoupon.jsp"),
	COUPONS_USE_SEND(8,"OPENTM202756408","优惠劵使用和发放通知","/pages/weixin/newfront/myCoupon.jsp"),
	BUY_MEMBERSHIP(9,"OPENTM202863505","会员升级成功通知",""),
	COUPONS_USE(10,"TM00005","优惠劵使用通知","/pages/weixin/newfront/myCoupon.jsp"),
	COUPONS_SEND(11,"TM00251","优惠劵发送","/pages/weixin/newfront/myCoupon.jsp"),
	PAY_CODE(12,"OPENTM200738487","账单的验证码",""),
	SEND_PAIHAI_MSG(13,"OPENTM206094658","排队等号通知","");
	private int type;
	private String template_id_short;
	private String remark;
	private String url;
	private TemplateRelationEnum(int type,String template_id_short,String remark,String url){
		this.type = type;
		this.template_id_short = template_id_short;
		this.remark = remark;
		this.url = url;
	}
	public int getType()
	{
		return type;
	}
	public void setType(int type)
	{
		this.type = type;
	}
	public String getTemplate_id_short()
	{
		return template_id_short;
	}
	public void setTemplate_id_short(String template_id_short)
	{
		this.template_id_short = template_id_short;
	}
	public String getRemark()
	{
		return remark;
	}
	public void setRemark(String remark)
	{
		this.remark = remark;
	}
	public String getUrl()
	{
		return url;
	}
	public void setUrl(String url)
	{
		this.url = url;
	}
}
